package com.atguigu.gmall.product.component;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties("minio")//自动将配置文件中minio下的所有配置项和当前类的属性一一对应
public class MinioProperties {
    private String endpoint;
    private String accessKey;
    private String secretKey;
    private String bucketName;

}
